package com.csl.hotel.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.support.SqlSessionDaoSupport;

import com.csl.hotel.entity.RyJwryzsdj;

//@Repository("jwryzsdjDao")
public class JwryzsdjDaoImpl extends SqlSessionDaoSupport implements
		JwryzsdjDaoI {
	String pkgname="com.csl.hotel.entity.RyJwryzsdj.";
	
	/**
	@Override
	public List<RyJwryzsdj> selectJwryDjxx() {
		List<RyJwryzsdj> djxxs=getSqlSession().selectList(pkgname+"selectJwryDjxxs");
		
		return djxxs;
	}
	*/

	@Override
	public List<RyJwryzsdj> selectJwryDjxxs(@Param("rksj") String rksj) {
	
		List<RyJwryzsdj> djxxs=getSqlSession().selectList(pkgname+"selectJwryDjxxs",rksj);
		return djxxs;
	}
	@Override
	public int updateById(String rybh) {
		 int result=getSqlSession().update(pkgname+"updateJwryUp", rybh);
		return result;
	}

}
